package com.yr.ryjk.app.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yr.ryjk.app.entity.App;

public interface AppMapper {
    int deleteByPrimaryKey(String id);

    int insert(App record);

    int insertSelective(App record);

    App selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(App record);

    int updateByPrimaryKey(App record);

	List<App> selectOfPage(int start, int limit,@Param("version") String version);

	int selectCount(@Param("version") String version);
	
	void updateSetUnDefault();
	
	void updateSetDefault(String id);

	App selectLatestVersion();
}